home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 November
/
EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso
/
earcd
/
program
/
gcc
/
gcc270-d.lha
/
gnu
/
man
/
cat3
/
strdup.0
< prev
next >
Wrap
Text File
|
1992-08-10
|
872b
|
67 lines
STRDUP(3) UNIX Programmer's Manual STRDUP(3)
NNAAMMEE
ssttrrdduupp - save a copy of a string
SSYYNNOOPPSSIISS
##iinncclluuddee <<ssttrriinngg..hh>>
_c_h_a_r _*
ssttrrdduupp(_c_o_n_s_t _c_h_a_r _*_s_t_r)
DDEESSCCRRIIPPTTIIOONN
The ssttrrdduupp() function allocates sufficient memory for a copy of the
string _s_t_r, does the copy, and returns a pointer to it. The pointer may
subsequently be used as an argument to the function free(3).
SSEEEE AALLSSOO
calloc(3) malloc(3) realloc(3) free(3)
HHIISSTTOORRYY
The ssttrrdduupp() function currently under development.
BSD Experimental April 19, 1991 1